/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
using System.Collections.Generic;
using Newtonsoft.Json;
using Aliyun.Acs.Core;

namespace Aliyun.Acs.dms_enterprise.Model.V20181101
{
	public class ListProxyAccessesResponse : AcsResponse
	{

		private string requestId;

		private bool? success;

		private string errorMessage;

		private string errorCode;

		private List<ListProxyAccesses_ProxyAccessListItem> proxyAccessList;

		[JsonProperty(PropertyName = "RequestId")]
		public string RequestId
		{
			get
			{
				return requestId;
			}
			set	
			{
				requestId = value;
			}
		}

		[JsonProperty(PropertyName = "Success")]
		public bool? Success
		{
			get
			{
				return success;
			}
			set	
			{
				success = value;
			}
		}

		[JsonProperty(PropertyName = "ErrorMessage")]
		public string ErrorMessage
		{
			get
			{
				return errorMessage;
			}
			set	
			{
				errorMessage = value;
			}
		}

		[JsonProperty(PropertyName = "ErrorCode")]
		public string ErrorCode
		{
			get
			{
				return errorCode;
			}
			set	
			{
				errorCode = value;
			}
		}

		[JsonProperty(PropertyName = "ProxyAccessList")]
		public List<ListProxyAccesses_ProxyAccessListItem> ProxyAccessList
		{
			get
			{
				return proxyAccessList;
			}
			set	
			{
				proxyAccessList = value;
			}
		}

		public class ListProxyAccesses_ProxyAccessListItem
		{

			private long? proxyAccessId;

			private string gmtCreate;

			private string accessId;

			private string originInfo;

			private string indepAccount;

			private long? userId;

			private string userUid;

			private string userName;

			private long? proxyId;

			private long? instanceId;

			[JsonProperty(PropertyName = "ProxyAccessId")]
			public long? ProxyAccessId
			{
				get
				{
					return proxyAccessId;
				}
				set	
				{
					proxyAccessId = value;
				}
			}

			[JsonProperty(PropertyName = "GmtCreate")]
			public string GmtCreate
			{
				get
				{
					return gmtCreate;
				}
				set	
				{
					gmtCreate = value;
				}
			}

			[JsonProperty(PropertyName = "AccessId")]
			public string AccessId
			{
				get
				{
					return accessId;
				}
				set	
				{
					accessId = value;
				}
			}

			[JsonProperty(PropertyName = "OriginInfo")]
			public string OriginInfo
			{
				get
				{
					return originInfo;
				}
				set	
				{
					originInfo = value;
				}
			}

			[JsonProperty(PropertyName = "IndepAccount")]
			public string IndepAccount
			{
				get
				{
					return indepAccount;
				}
				set	
				{
					indepAccount = value;
				}
			}

			[JsonProperty(PropertyName = "UserId")]
			public long? UserId
			{
				get
				{
					return userId;
				}
				set	
				{
					userId = value;
				}
			}

			[JsonProperty(PropertyName = "UserUid")]
			public string UserUid
			{
				get
				{
					return userUid;
				}
				set	
				{
					userUid = value;
				}
			}

			[JsonProperty(PropertyName = "UserName")]
			public string UserName
			{
				get
				{
					return userName;
				}
				set	
				{
					userName = value;
				}
			}

			[JsonProperty(PropertyName = "ProxyId")]
			public long? ProxyId
			{
				get
				{
					return proxyId;
				}
				set	
				{
					proxyId = value;
				}
			}

			[JsonProperty(PropertyName = "InstanceId")]
			public long? InstanceId
			{
				get
				{
					return instanceId;
				}
				set	
				{
					instanceId = value;
				}
			}
		}
	}
}
